import DefaultTheme from "vitepress/theme";

import YIcon from "@yun/components/icon";
import "@yun/theme-chalk/src/index.scss";

console.log(YIcon);
export default {
  ...DefaultTheme,
  enhanceApp({ app }) {
    app.use(YIcon); // 在 vitepress 中,注册全局组件
  },
};
